﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Scpi.Core.Business.hoster
{
    public interface IHoster
    {
        Task ConnectAsync(ICommunicationParam communicationParam);
        void Disconnect();
        Task SendData(string buffer);
        Task<string> SendDataWitchRecvAsync(string buffer);
        int RecvData(out List<byte> buffer);
        Task<string> RecvData();
    }
}
